package com.dm.biz.item.client;

import com.dm.biz.item.vo.DmImage;
import com.dm.comm.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("biz-base")
public interface DmImageClient {

    @GetMapping("/dmImage/query/{targetId}/{category}/{type}")
    public Result<List<DmImage>> query(@PathVariable Long targetId, @PathVariable Long category, @PathVariable Long type);
}
